{include file="public/_meta" /}

<body>
<div class="wrapper">

    {include file="public/_header" /}

    <!-- Sidebar -->
    {include file="public/_menu" /}
    <!-- End Sidebar -->

    <div class="main-panel">

        <div class="content">
            <div class="page-inner">

                <!-- 面包屑 -->
                {include file="public/_page_header" /}


                <div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="card-header">

                                <form class="row">
                                    <div class="col-md-6 col-lg-3">
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="start_time" id="start_time" value="{$start_time}" placeholder="开始时间" autocomplete="off">
                                        </div>
                                    </div>
                                    <div class="col-md-6 col-lg-3">
                                        <div class="form-group">
                                            <input type="text" class="form-control" name="end_time" id="end_time" value="{$end_time}" placeholder="结束时间" autocomplete="off">
                                        </div>
                                    </div>
                                    <div class="col-md-6 col-lg-3">
                                        <div class="form-group">
                                            <input type="text" class="form-control" id="adv_id" name="adv_id" value="{$adv_id}" placeholder="分发规则ID">
                                        </div>
                                    </div>
                                    <div class="col-md-6 col-lg-3">
                                        <div class="form-group">
                                            <input type="text" class="form-control" id="id" name="id" value="{$id}" placeholder="线索主键ID">
                                        </div>
                                    </div>
                                    <div class="col-md-6 col-lg-3">
                                        <div class="form-group">
                                            <button type="submit" class="btn btn-primary">查询</button>
                                        </div>
                                    </div>
                                </form>

                            </div>
                            <div class="card-body">


                                <div class="table-responsive">
                                    <table id="add-row" class="display table table-striped table-hover" >
                                        <thead>
                                        <tr>
                                            <th>ID</th>
                                            <th>接收商户</th>
                                            <th>分发规则ID</th>
                                            <th>线索主键ID</th>
                                            <th>类型</th>
                                            <th>产品</th>
                                            <th>城市</th>
                                            <th>时间</th>

                                        </tr>
                                        </thead>

                                        <tbody>

                                        {volist name="systemLogs" id="vo"}
                                        <tr>
                                            <td>{$vo.id}</td>
                                            <td>{$vo.mer_name}</td>
                                            <td>{$vo.push_id}</td>
                                            <td>{$vo.clue_id}</td>
                                            <td>分发执行</td>
                                            <td>{$vo.pro_name}</td>
                                            <td>{$vo.city}</td>
                                            <td>{$vo.create_time}</td>
                                        </tr>
                                        {/volist}

                                        </tbody>
                                    </table>

                                    <!-- 分页 (调取通用方法)-->
                                    <div class="layui-box layui-laypage layui-laypage-molv">{:pagination($systemLogs)}</div>

                                </div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>
        </div>

        {include file="public/_footer" /}


    </div>


</div>

{include file="public/_js" /}

</body>
<script>
    laydate.render({
        elem: '#start_time'
        ,type: 'datetime'
    });
    laydate.render({
        elem: '#end_time'
        ,type: 'datetime'
    });
</script>

</html>